package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 开课变更申请-审核
 * </p>
 *
 * @author quin.song
 * @since 2024-05-20
 */
@Data
@Accessors(chain = true)
@TableName("course_apply")
@ApiModel(value = "CourseApply对象", description = "开课变更申请-审核")
public class CourseApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "apply_id", type = IdType.AUTO)
    private Integer applyId;

    private Long courseId;

    private Integer taskId;

    @ApiModelProperty("讲授学时")
    private Integer lectureHour;

    @ApiModelProperty("实验学时")
    private Integer experimentalHour;

    @ApiModelProperty("上机学时")
    private Integer computerHour;

    @ApiModelProperty("其他学时")
    private Integer otherHour;

    @ApiModelProperty("周数")
    private Integer weekNum;

    @ApiModelProperty("课程备注")
    private String description;

    @ApiModelProperty("审核意见")
    private String reviewComment;

    @ApiModelProperty("申请状态 0撤回 1正常开课 2变更审核中 3已通过 4已驳回 ")
    private Integer applyStatus;

    @ApiModelProperty("变更类型 1正常开课 2增开 3修改 4删除 ")
    private Integer operationType;

    @ApiModelProperty("创建人id")
    private String createdUserId;

    private String createdUserName;

    private LocalDateTime createdTime;

    private LocalDateTime modifiedTime;
}
